<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>酒店签到界面</title>
<link rel="stylesheet" type="text/css" href="<s:url value='/resources/css/hotel/hoteldetail.css'/>" media="all" />
<script type="text/javascript" src="<s:url value='/resources/js/jquery/jquery-1.5.2.min.js'/>"></script> 
<script type="text/javascript" src="<s:url value='/resources/js/common/time.js'/>"></script> 
<script type="text/javascript">
var contextpath="<%=request.getContextPath()%>";
$(function(){
	$('.time').text((new Date()).pattern("yyyy-MM-dd EEE HH:mm:ss"));
	$('.time').createTime({format:'yyyy-MM-dd EEE HH:mm:ss'});
});

</script>
<style type="text/css">
.markResult{
	padding:50px 50px;
	border-style:groove;
	border-width:1pt; 
	border-color: green;
	width:400px;
	margin:200px 134px;
	font-size:24px;
	color:green;
}
</style>
</head>
<body style="width: 1024px;height: 768px;">
	<div id="top">
		<div class="home"></div>
		<div class="sysname">现代旅游酒店系统</div>
		<div class="userText"></div>
		<div class="time">2013/5/26  星期一  17:52:00</div>
		<div class="clr"></div>
	</div>
	<div class="context">
		<div class="left">
			<div class="nav">
				<ul>
					<li class="nav_tit select"><div><img src="<s:url value="/resources/images/hotel/mark1.png" />" /><span class="li_tit">导游签到</span></div></li>
					<li class="nav_tit">
					<a style="text-decoration: none;" href="<s:url value='/hotel/loadHotelInformation.action'/>?hotelId=<s:property value='#request.place.id'/>">
					<div><img src="<s:url value="/resources/images/hotel/selecticons.png" />" /><span>查询</span></div></a></li>
				</ul>
			</div>
			<div class="intoHome">
				<a href=<s:url value='/hotel/loadHotelIndex'/>?hotelId=<s:property value="#request.place.id"/>><img src="<s:url value='/resources/images/aio/rhome.png'/>"/></a>
			</div>
		</div>
		<div class="right">
			<div class="riframe">
				<s:if test='#request.result=="3"'>
					<div class="markResult">
						<span style="vertical-align:middle;"><img src="<s:url value="/resources/images/hotel/markfailure.png" />"/></span>
						对不起无法识别您的导游身份或者当天您没有预定该酒店
					</div>
				</s:if>
				<s:if test='#request.result=="2"'>
					<div class="markResult">
					<span style="vertical-align:middle;"><img src="<s:url value="/resources/images/hotel/markRepeat.png" />"/></span>
					已签到，不必重复签到
				</div>
				</s:if>
				<s:if test='#request.result=="1"'>
					<div class="markResult">
					<span style="vertical-align:middle;"><img src="<s:url value="/resources/images/hotel/markRepeat.png" />"/></span>
					签到成功
					<div style="font-size:20px;color:#000;margin:20px;"><font size="3px;">导游：<s:property value="#request.plan.guideName"/>&nbsp;&nbsp;签到时间：<s:date name="#request.guide.signTime" format="yyyy-MM-dd hh:mm:ss"/></font></div>
					</div>
				</s:if>
				
			</div>
		</div>
		<div class="clr"></div>
	</div>
	<div class="bottomCotent"><span style=" padding-right: 20px;">客户机:<s:property value="#request.place.id"/>　使用单位：<s:property value="#request.place.name"/></span></div>
</body>
</html>